package com.microservice.salmon.service.brand;

import com.microservice.salmon.db.entities.Brand;
import com.microservice.salmon.service.vo.BrandVO;
import com.salmon.common.page.PageResult;

import java.util.List;

/**
 * <p>
 * 品牌管理
 * </p>
 *
 * @author 王洪庆 2019-01-15 22:06
 */
public interface BrandService {

    void add(BrandVO brandVO);

    int delete(Integer brandId);

    void update(BrandVO brandVO);

    /**
     * 获取品牌信息
     */
    PageResult<Brand> obtainBrandList(BrandVO brandVO);


    Brand getBrandInfoById(Integer brandId);

    List<Brand> obtainBrandByCategoryId(Integer categoryId);

}
